home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / comm / net / INET_Offline.lzh / INET_Offline.rexx
OS/2 REXX Batch file  |  1998-03-07  |  1KB  |  39 lines

  1. /* Name     : INET_Offline.rexx
  2. ** Author   : Jim Dutton  (jimd@siu.edu)
  3. ** Date     : 22 Feb 1998
  4. ** Version  : 1.0
  5. **
  6. ** PreReq's : ARexx, INet-225
  7. **
  8. ** CoReq's  : INET_Online.rexx
  9. **
  10. ** Function : Display a (relatively) small console window wherein
  11. **            the current amount of time (minutes) "online" is displayed
  12. **
  13. ** Caveats  : As with any other Shell/CLI window, accidently moving
  14. **            cursor in the window interrupts output
  15. **
  16. ** Benie's  : Initial window can be resized and moved as desired
  17. **
  18. ** Comments : ARexx must be up and running before Inet is;
  19. **            Modify the initial window size as needed;
  20. **            The console window closes automatically after Inet
  21. **            goes offline (via Stop...), after the 15 (sec) pause at the bottom
  22. **
  23. ** Usage    : Place this and the other programs in an Inet subdirectory;
  24. **            Add the following line to each Start... Inet script for
  25. **            dial-up connections, before the 'SetEnv HOSTNAME' line:
  26. **
  27. **               Run rexxc:rx inet:<path>/INET_Online <phone number>
  28. **
  29. **            Add the following line to each Stop.... Inet script for
  30. **            dial-up connections:
  31. **
  32. **               rexxc:rx inet:<path>/INET_Offline
  33. **
  34. */
  35.  
  36. timestamp = time()
  37. Address INET_Online_Console "INET Offline at" timestamp
  38. Exit
  39.